package com.whd.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
public class Dept implements Serializable {
    private Integer id;

    private String name;

    private Integer parentId;

    private Dept parent;

    private List<Dept> children = new ArrayList<>();
}